	<!-- mainPage/shoppingPage -->
	<nav class="navbar navbar-fixed-top navbar-inverse" role="navigation" th:fragment="navbar_top">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" >
					<span class="sr-only">Toggle naviagtion</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#" style="margin-left:60px;font-family:FZShuTi;font-weight:blod">
					ruyi&nbsp;如意商品</a>
			</div>
			<div class="collapse navbar-collapse">
				<div class="row">
					 <div class="col-md-6">
						<ul class="nav navbar-nav">
						<li class="active">
							<a th:href="@{/thy/shoppingPage}">
								<span class="glyphicon glyphicon-home">&nbsp;首页</span>
							</a>
						</li>
						<li>
							<a th:href="@{/thy/static/registerPage}">
								<span class="glyphicon glyphicon-comment">&nbsp;注册</span>
							</a>
						</li>
						<li>
							<a th:href="@{/thy/static/toLoginPage}">
								
								<span class="glyphicon glyphicon-log-in">
									 <shiro:guest>
									 	登录
									 </shiro:guest>
									 <shiro:user>    
										【<shiro:principal property="username"/>】已登录  
									 </shiro:user>
								</span>
							</a>
						</li>
						<li>
							<a th:href="@{/thy/sys/logout}">
								<span class="glyphicon glyphicon-log-out">退出</span>				
							</a>
						</li>
						</ul>
					</div>
					<div class="col-lg-4" align="center">
						<ul class="nav navbar-nav">
						<li>
							 <div class="input-group" style="margin-top:8px;float:right">
								<span class="input-group-addon"><a href="#" class="glyphicon glyphicon-search">&nbsp;搜索</a></span>
								<input id="search" name="search" type="text" 
								class="form-control"  placeholder="搜索......." style="width:300px;"/>
							</div>
						</li>
						</ul>
					</div>
				</div>
			</div>
	</nav>
